require 'tk'
require 'tkextlib/tkimg'

root = TkRoot.new
var = TkVariable.new
var.value = "hello panda"

TkEntry.new{
	font "Helvetica 25 bold"
	pack side:"top"
}

TkLabel.new{
	#text "hello panda"
	font "Times 20 bold italic bold"
	textvariable var
	#bitmap "@./main.xbm"
	image TkPhotoImage.new(file:"msger.jpg")
	compound "top"
	justify "left"
	#grid
	pack side:"bottom"
}

var.value = "hello hopy 盼盼\ncopyright by hopy\n2015-08-08"

Tk.mainloop